package com.cwj.mansysback.dao.api;

import com.cwj.mansysback.entity.Pack;
import com.cwj.mansysback.entity.Teacher;

import java.util.List;

public interface TeacherDao {


    boolean addTeacher( String tid, String tname, Double tsalary, String rid,Integer tage,boolean tsex);

    boolean deleteTeacher(String tid);

    Teacher selectTeacher(String tid);

    List<Teacher> selectTeacher(int start, int sum, String field,boolean isAse);

    boolean updateTeacher(String tid, String tname, Double tsalary, String rid,Boolean tsex,Integer tage);

    Pack selectAllPack();


}
